package com.ruoyi.wms.domain.vo;

import java.math.BigDecimal;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.wms.domain.entity.MailboxStatistics;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.excel.annotation.ExcelDictFormat;
import com.ruoyi.common.excel.convert.ExcelDictConvert;
import lombok.Data;
import io.github.linpeilie.annotations.AutoMapper;

import java.io.Serializable;
import java.io.Serial;
import java.time.LocalDateTime;

/**
 * 数据统计视图对象 mailbox_statistics
 *
 * @author zcc
 * @date 2024-12-14
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = MailboxStatistics.class)
public class MailboxStatisticsVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @ExcelProperty(value = "ID")
    private Long id;

    /**
     * 日新增数量
     */
    @ExcelProperty(value = "日新增数量")
    private Long todayQuantity;

    /**
     * 周新增数量
     */
    @ExcelProperty(value = "周新增数量")
    private Long weekQuantity;

    /**
     * 月新增数量
     */
    @ExcelProperty(value = "月新增数量")
    private Long monthQuantity;

    /**
     * 当前信件总数
     */
    @ExcelProperty(value = "当前信件总数")
    private Long total;

    /**
     * 已处理数量
     */
    @ExcelProperty(value = "已处理数量")
    private Long processedTotal;

    /**
     * 待处理数量
     */
    @ExcelProperty(value = "待处理数量")
    private Long pendingTotal;

    /**
     * 当日处理效率
     */
    @ExcelProperty(value = "当日处理效率")
    private BigDecimal efficiency;

    /**
     * 当日处理数量
     */
    @ExcelProperty(value = "当日处理数量")
    private Long todayProcessedTotal;

    @ExcelProperty(value = "时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;


}
